package cn.mcartoon.pojo;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/***
*   微信支付表
*/
@Data
public class MmWechatOrder implements Serializable {
    //主键ID
    private Long wechatId;
    //订单编号
    private String orderNo;
    //微信交易号
    private String wechatTradeNo;
    //用户ID
    private Long userId;
    //交易结果  Y-->成功；N-->失败
    private String tradeResult;
    //支付银行类型
    private String bankType;
    //回调时间
    private Date callbackTime;
    //金额
    private BigDecimal money;
    //服务ID
    private String serviceId;
    //创建人
    private Long createdUserId;
    //修改人
    private Long updatedUserId;
    //是否删除(0:否,1:是)
    private Integer isDelete;
    //创建时间
    private Date creatdTime;
    //修改时间
    private Date updatedTime;
    //get set 方法
    public void setWechatId (Long  wechatId){
        this.wechatId=wechatId;
    }
    public  Long getWechatId(){
        return this.wechatId;
    }
    public void setOrderNo (String  orderNo){
        this.orderNo=orderNo;
    }
    public  String getOrderNo(){
        return this.orderNo;
    }
    public void setWechatTradeNo (String  wechatTradeNo){
        this.wechatTradeNo=wechatTradeNo;
    }
    public  String getWechatTradeNo(){
        return this.wechatTradeNo;
    }
    public void setUserId (Long  userId){
        this.userId=userId;
    }
    public  Long getUserId(){
        return this.userId;
    }
    public void setTradeResult (String  tradeResult){
        this.tradeResult=tradeResult;
    }
    public  String getTradeResult(){
        return this.tradeResult;
    }
    public void setBankType (String  bankType){
        this.bankType=bankType;
    }
    public  String getBankType(){
        return this.bankType;
    }
    public void setCallbackTime (Date  callbackTime){
        this.callbackTime=callbackTime;
    }
    public  Date getCallbackTime(){
        return this.callbackTime;
    }
    public void setMoney (BigDecimal  money){
        this.money=money;
    }
    public  BigDecimal getMoney(){
        return this.money;
    }
    public void setServiceId (String  serviceId){
        this.serviceId=serviceId;
    }
    public  String getServiceId(){
        return this.serviceId;
    }
    public void setCreatedUserId (Long  createdUserId){
        this.createdUserId=createdUserId;
    }
    public  Long getCreatedUserId(){
        return this.createdUserId;
    }
    public void setUpdatedUserId (Long  updatedUserId){
        this.updatedUserId=updatedUserId;
    }
    public  Long getUpdatedUserId(){
        return this.updatedUserId;
    }
    public void setIsDelete (Integer  isDelete){
        this.isDelete=isDelete;
    }
    public  Integer getIsDelete(){
        return this.isDelete;
    }
    public void setCreatdTime (Date  creatdTime){
        this.creatdTime=creatdTime;
    }
    public  Date getCreatdTime(){
        return this.creatdTime;
    }
    public void setUpdatedTime (Date  updatedTime){
        this.updatedTime=updatedTime;
    }
    public  Date getUpdatedTime(){
        return this.updatedTime;
    }
}
